const city = {
  state: {
    appid: '',
    component_appid: '', //开放平台id
    qrcode: '',
    serviceQrcode: '',
    id: 0,
    name: '',
    image: ''
  },

  mutations: {
    SET_CITY: (state, city) => {
      state.appid = city.appid
      state.component_appid = city.component_appid
      state.qrcode = city.qrcode
      state.serviceQrcode = city.service_qrcode
      state.id = city.city_id
      state.name = city.city_name
      state.image = city.image
    }
  }
}

export default city
